package cn.edu.zut.logistics.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("warehouse_operation_metrics")
public class WarehouseOperationMetrics {

    @TableId("metric_id")
    private Integer metricId;

    @TableField("statistics_date")
    private LocalDate statisticsDate;

    @TableField("warehouse_id")
    private Integer warehouseId;

    @TableField("total_inbound")
    private Integer totalInbound;

    @TableField("total_outbound")
    private Integer totalOutbound;

    @TableField("inventory_turnover_rate")
    private BigDecimal inventoryTurnoverRate;

    @TableField("sorting_accuracy_rate")
    private BigDecimal sortingAccuracyRate;

    @TableField("cargo_damage_rate")
    private BigDecimal cargoDamageRate;

    @TableField("equipment_failure_count")
    private Integer equipmentFailureCount;

    @TableField("create_time")
    private LocalDateTime createTime;
}